from django.urls import re_path,path
from . import views
urlpatterns=[
    re_path('^imgcodes/(?P<uuid>[\w-]+)/$', views.ImgcodeView.as_view()),
    re_path('^smscodes/(?P<phone>1[35789]\d{9})/$', views.Smscode.as_view()),#/sms_codes/(?P<phone>1[35789]\d{9})/,^smscodes/(?P<phone>1[35789]\d{9})/$
    re_path('^check_smscode/(?P<phone>1[35789]\d{9})/$', views.CheckSMScode.as_view())]
#
# from django.urls import path,re_path,include
# from .import views
# urlpatterns= [
#     re_path('^register/',views.RegisterView.as_view()),
#     re_path('^usernames/(?P<username>[a-zA-Z_]{5,8})/count$',views.UserNameCount.as_view()),
#     re_path('^logout/$',views.LogoutView.as_view()),
#     re_path('^phones/(?P<phone>1[3589][0-9]{9})/count$',views.PhoneCount.as_view())
# ]